package org.jeecg.glr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.jeecg.glr.entity.GlrFaultAlerm;

import java.util.List;

/**
 * @Description: 故障告警
 * @Author: jeecg-boot
 * @Date:   2020-03-09
 * @Version: V1.0
 */
public interface GlrFaultAlermMapper extends BaseMapper<GlrFaultAlerm> {
    @Select("${sql}")
    int getGlrFaultAlermCount(@Param("sql")String sql);
    @Update("update glr_fault_alerm set status='Y' where id in (${ids})")
    public void processing(@Param("ids")String ids);
}
